Adding image in tkinter menu

by: 24naman, 7 years ago


Hi, I want to ask when we add an item in tkinter menu using
->
FILE_MENU.add_command(label="New", accelerator='Ctrl + N', compound='left')
,
there is parameter "image" which takes an object (maybe) as an argument, I don't know what kind of parameter I have to pass here to show an image in menu...
Can you help?



You must be logged in to post. Please login or register an account.